import axios from 'axios';
import store from '../store'

axios.defaults.timeout=5000;
axios.defaults.baseURL="https://lxy.runzie.cn";

axios.interceptors.request.use((config) => {
  let token = store.state.token
  config.headers={
    "X-TOKEN":token
  }
},(error) => {

})

export default axios